package the.workshop.milktea.infrastructure.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.wisteria.framework.web.mvc.entity.SuperEntity;

/**
 * <p>
 * 种类
 * </p>
 *
 * @author huamu
 * @since 2023-04-01
 */
@Data
@TableName("milktea_category")
public class Category extends SuperEntity {

    private static final long serialVersionUID = 7055893022553241561L;
    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 种类名称
     */
    @TableField("name")
    private String name;

}
